/******************************************************************************
* File description: MaintenanceReGai2WenDuJiaoZheng.qml
* Function: 维护-热盖：温度校正
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-28
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
import QtQuick 2.14
import QtQuick.Controls 2.14
import QtQuick.Layouts 1.14

Item {
    id: root

    /* property 定义开始 */

    /* property 定义结束 */

    Item {
        id: wenDuJiaoZhengCon
        anchors.fill: parent

        RowLayout {
            width: parent.width
            height: 40
            spacing: 8

            // 温度矫正
            LabelTextInput {
                id: temperatureInput
                Layout.fillWidth: true
                Layout.preferredHeight: 40
                labelText: "温度(℃)"
                labelFontPixelSize: 16
                inputWidth: width
                inputHeight: height
                placeholderText: ""
            }

            // 读取
            PureButton {
                id: readingBtn
                Layout.preferredWidth: 120
                Layout.preferredHeight: 40
                pureBtnColor: "#FF2F42CD"
                pureHoveredColor: "#FF2F42CD"
                pureLabelColor: "#FFFFFFFF"
                pureFontHoveredColor: "#FFFFFFFF"
                pureBtnBorderColor: "transparent"
                pureText: "读取"
                disabledPureBtnColor: "#FFF5F5F5"
                disabledPureBtnBorderColor: "#FFD9D9D9"
                disabledPureLabelColor: "#FFBFBFBF"
                // 关闭过渡效果
                isTransition: false
            }

            // 停止
            PureButton {
                id: stopBtn
                Layout.preferredWidth: 120
                Layout.preferredHeight: 40
                // 默认不可用
                isEnable: false
                pureBtnColor: "#FF2F42CD"
                pureHoveredColor: "#FF2F42CD"
                pureLabelColor: "#FFFFFFFF"
                pureFontHoveredColor: "#FFFFFFFF"
                pureBtnBorderColor: "transparent"
                pureText: "停止"
                disabledPureBtnColor: "#FFF5F5F5"
                disabledPureBtnBorderColor: "#FFD9D9D9"
                disabledPureLabelColor: "#FFBFBFBF"
                // 关闭过渡效果
                isTransition: false
            }

            // 设置
            PureButton {
                id: settingBtn
                Layout.preferredWidth: 120
                Layout.preferredHeight: 40
                pureBtnColor: "#FF2F42CD"
                pureHoveredColor: "#FF2F42CD"
                pureLabelColor: "#FFFFFFFF"
                pureFontHoveredColor: "#FFFFFFFF"
                pureBtnBorderColor: "transparent"
                pureText: "设置"
                disabledPureBtnColor: "#FFF5F5F5"
                disabledPureBtnBorderColor: "#FFD9D9D9"
                disabledPureLabelColor: "#FFBFBFBF"
                // 关闭过渡效果
                isTransition: false
            }
        }
    }
}
